$sqlviews = "UPDATE vendors SET views = views + 1 WHERE id = '$v_id'"; if ($conn->query($sqlviews) === TRUE) { }